ChangeSet(TContext) constructor¶
Defined in
Type: ChangeSetDynamicData
Assembly: DynamicData.dll
Applies to
net10.0, netstandard2.0
Overloads¶
-
public ChangeSet(TContext context) -
public ChangeSet(IEnumerable<Change<TObject, TKey>> collection, TContext context) -
public ChangeSet(int capacity, TContext context)
1. Overload¶
public ChangeSet(TContext context)
Summary: Initializes a new instance of the ChangeSet class.
Parameters
| Name | Type | Description |
|---|---|---|
context | TContext | The additional context. |
2. Overload¶
public ChangeSet(IEnumerable<Change<TObject, TKey>> collection, TContext context)
Summary: Initializes a new instance of the ChangeSet class.
Parameters
| Name | Type | Description |
|---|---|---|
collection | IEnumerable | The collection of items to start the change set with. |
context | TContext | The additional context. |
3. Overload¶
public ChangeSet(int capacity, TContext context)
Summary: Initializes a new instance of the ChangeSet class.
Parameters
| Name | Type | Description |
|---|---|---|
capacity | int | The initial capacity of the change set. |
context | TContext | The additional context. |